package cn.shopping.dao.franchisees;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import cn.shopping.pojo.Sh_franchisees;
import cn.shopping.pojo.Sh_total;

public interface FranchiseesMapper {

	public List<Sh_franchisees> selallfranchisees();
	
	public int addtotal(Sh_total total);
	public int addfrance(Sh_franchisees franch);
	public int selmaxtotalid();
	public int deltotaladd(@Param("total_id") int total_id);
	public int delfranch(@Param("id") int id);
	public Sh_franchisees selfranchiseesbyId(@Param("id") int id);
	public int modifytotal(Sh_total total);
	public int modifyfranch(Sh_franchisees franch);
	public List<Sh_franchisees> selresults();
}
